

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class AddressDto implements Serializable {

	private static final long serialVersionUID = 1L;

	private String firstUrl;

	private List<String> urls;

	public String getFirstUrl() {
		return firstUrl;
	}

	public void setFirstUrl(String firstUrl) {
		this.firstUrl = firstUrl;
	}

	public List<String> getUrls() {
		return urls;
	}

	public void setUrls(List<String> urls) {
		this.urls = urls;
	}

	public static void main(String[] args) {
		List<String> list = new ArrayList<String>();
		Set<String> set = new HashSet<String>();
		for (int i = 0; i < 10; i++) {
			list.add(i + "");
			set.add(i + "");
		}
		long a = System.nanoTime() / 1000;
		System.out.println(list.contains("5"));
		System.out.println(System.nanoTime() / 1000 - a);
		a = System.nanoTime() / 1000;
		System.out.println(list.contains("5"));
		System.out.println(System.nanoTime() / 1000 - a);
	}

}
